package com.ego.product.vo.spu;

import cn.hutool.core.bean.BeanUtil;
import com.ego.product.to.coupon.BoundTo;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;

/**
 * @program: ego
 * @description: 商品积分
 * @author: KamTang
 * @create: 2022-11-22 14:43
 **/
@Setter
@Getter
public class Bound {
    /**
     * 购买积分
     */
    private BigDecimal buyBound;
    /**
     * 成长积分
     */
    private BigDecimal growBound;

    public BoundTo toTo() {
        return BeanUtil.copyProperties(this, BoundTo.class);
    }
}
